<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <script src="./Dep.js"></script>
  <script src="./Watcher.js"></script>
  <script src="./Compiler.js"></script>
  <script src="./Observer.js"></script>
  <script src="./Wue.js"></script>
  <title>Document</title>
</head>
<body>
  <div id="app">
    <div>插值表达式: {{msg}}</div>
    <div>v-test: <span v-text="msg"></span></div>
    <div>双向数据绑定: <input v-model="msg"></input></div>
  </div>
</body>
<script>
  let wm = new Wue(
    {
      el:'#app',
      data:{
        msg:'hello',
        test:{
          name: 'lili'
        }
      }
    }
  )
  wm.test = {name:'ll'}
</script>
</html>